package com.example.presentshopping.config.bean;

import java.util.List;

public class YDClassifyItemBean {

    /**
     * code : 0
     * msg : 获取商品子分类列表成功
     * data : {"list":[{"id":1271,"name":"产地直供","thumb":"https://wmoss.lxtianxia.cn/images/8/2020/10/mB9uHZZ91U9EBV1I1BCuuIi9quS5tZ.png"},{"id":1272,"name":"严选水产","thumb":"https://wmoss.lxtianxia.cn/images/8/2020/10/mnffN4288PKa2W9h22hcOWt2hcowct.png"},{"id":1273,"name":"有机粮油","thumb":"https://wmoss.lxtianxia.cn/images/8/2020/10/K9Ycc0s9t3Duc0U0zfd19R701S70S1.png"},{"id":1274,"name":"休闲零食","thumb":"https://wmoss.lxtianxia.cn/images/8/2020/10/itL682kZ8FIhzFF8vt66TBf6NteFvn.png"}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<ListBean> list;

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 1271
             * name : 产地直供
             * thumb : https://wmoss.lxtianxia.cn/images/8/2020/10/mB9uHZZ91U9EBV1I1BCuuIi9quS5tZ.png
             */

            private int id;
            private String name;
            private String thumb;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }
        }
    }
}
